import { WebStorage } from '../cache';
import { TOKEN_KEY } from '/@/setting';

export function getTokenCache() {
  return WebStorage.get(TOKEN_KEY);
}

export function setTokenCache(token) {
  WebStorage.set(TOKEN_KEY, token);
}

export function removeTokenCache() {
  return WebStorage.remove(TOKEN_KEY);
}
